package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/4/30 14:48
 */
@ApiModel(description = "密码Bo")
@Setter
@Getter
public class PwdBo {

    @NotNull(message = "请填写旧密码")
    @ApiModelProperty("旧密码")
    private String oldPwd;
    @NotNull(message = "请填写新密码")
    @ApiModelProperty("新密码")
    private String newPwd;
    @ApiModelProperty(hidden = true)
    private String userId;


}
